//
//  VSNode.h
//  ViewSeer
//
//  Created by LevinYan on 2017/3/22.
//  Copyright © 2017年 LevinYan. All rights reserved.
//

#import <SceneKit/SceneKit.h>
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface VSNode : NSObject


@property (nullable, nonatomic, weak) VSNode * superNode;
@property (nonnull,nonatomic, strong) UIView* view;
@property (nullable, nonatomic, strong) NSString* name;
@property (nullable, nonatomic, weak) SCNNode *scnNode;
@property (nonnull, nonatomic, strong) NSArray<VSNode*> *subnodes;
@property (nonnull, nonatomic, strong) NSArray<VSNode*> *allSubnodes;

+ (nullable instancetype)node:(nonnull UIView*)view;


@end
